package com.luck.easyfoodbatch.mvp.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * author：luck
 * project：EasyFoodBatch
 * package：com.luck.easyfoodbatch.mvp.model
 * email：893855882@qq.com
 * data：16/10/31
 */
public class SearchGoods implements Serializable {

    private int status;
    private String authToken;

    private DataBean data;
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean implements Serializable {
        private int pageSize;
        private int totalPage;
        private int is_collect;

        private ShopBean shop;

        private List<ModelsBean> models;

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getIs_collect() {
            return is_collect;
        }

        public void setIs_collect(int is_collect) {
            this.is_collect = is_collect;
        }

        public ShopBean getShop() {
            return shop;
        }

        public void setShop(ShopBean shop) {
            this.shop = shop;
        }

        public List<ModelsBean> getModels() {
            return models;
        }

        public void setModels(List<ModelsBean> models) {
            this.models = models;
        }

        public static class ShopBean implements Serializable {
            private int id;
            private int uid;
            private int seller_type;
            private String rate;
            private String name;
            private String phone;
            private String shop_avatar;
            private String shop_avatar_base_url;
            private String shop_name;
            private String shop_address;
            private String id_card;
            private int product_type;
            private String brand;
            private String license_path;
            private int real_goods;
            private int send_ontime;
            private int three_days_on;
            private int is_agree_commission;
            private int is_pay_ensure;
            private int total_order_num;
            private String total_sale_amount;
            private int total_collect_num;
            private int created_at;
            private int updated_at;
            private int score;
            private String shop_hx;
            private String good_comment;
            private int is_shoper;
            private VoucherInfo voucher_info;

            public VoucherInfo getVoucher_info() {
                return voucher_info;
            }

            public void setVoucher_info(VoucherInfo voucher_info) {
                this.voucher_info = voucher_info;
            }

            public int getIs_shoper() {
                return is_shoper;
            }

            public void setIs_shoper(int is_shoper) {
                this.is_shoper = is_shoper;
            }

            public String getShop_hx() {
                return shop_hx;
            }

            public void setShop_hx(String shop_hx) {
                this.shop_hx = shop_hx;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getSeller_type() {
                return seller_type;
            }

            public void setSeller_type(int seller_type) {
                this.seller_type = seller_type;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getShop_avatar() {
                return shop_avatar;
            }

            public void setShop_avatar(String shop_avatar) {
                this.shop_avatar = shop_avatar;
            }

            public String getShop_avatar_base_url() {
                return shop_avatar_base_url;
            }

            public void setShop_avatar_base_url(String shop_avatar_base_url) {
                this.shop_avatar_base_url = shop_avatar_base_url;
            }

            public String getShop_name() {
                return shop_name;
            }

            public void setShop_name(String shop_name) {
                this.shop_name = shop_name;
            }

            public String getShop_address() {
                return shop_address;
            }

            public void setShop_address(String shop_address) {
                this.shop_address = shop_address;
            }

            public String getId_card() {
                return id_card;
            }

            public void setId_card(String id_card) {
                this.id_card = id_card;
            }

            public int getProduct_type() {
                return product_type;
            }

            public void setProduct_type(int product_type) {
                this.product_type = product_type;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getLicense_path() {
                return license_path;
            }

            public void setLicense_path(String license_path) {
                this.license_path = license_path;
            }

            public int getReal_goods() {
                return real_goods;
            }

            public void setReal_goods(int real_goods) {
                this.real_goods = real_goods;
            }

            public int getSend_ontime() {
                return send_ontime;
            }

            public void setSend_ontime(int send_ontime) {
                this.send_ontime = send_ontime;
            }

            public int getThree_days_on() {
                return three_days_on;
            }

            public void setThree_days_on(int three_days_on) {
                this.three_days_on = three_days_on;
            }

            public int getIs_agree_commission() {
                return is_agree_commission;
            }

            public void setIs_agree_commission(int is_agree_commission) {
                this.is_agree_commission = is_agree_commission;
            }

            public int getIs_pay_ensure() {
                return is_pay_ensure;
            }

            public void setIs_pay_ensure(int is_pay_ensure) {
                this.is_pay_ensure = is_pay_ensure;
            }

            public int getTotal_order_num() {
                return total_order_num;
            }

            public void setTotal_order_num(int total_order_num) {
                this.total_order_num = total_order_num;
            }

            public String getTotal_sale_amount() {
                return total_sale_amount;
            }

            public void setTotal_sale_amount(String total_sale_amount) {
                this.total_sale_amount = total_sale_amount;
            }

            public int getTotal_collect_num() {
                return total_collect_num;
            }

            public void setTotal_collect_num(int total_collect_num) {
                this.total_collect_num = total_collect_num;
            }

            public int getCreated_at() {
                return created_at;
            }

            public void setCreated_at(int created_at) {
                this.created_at = created_at;
            }

            public int getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(int updated_at) {
                this.updated_at = updated_at;
            }

            public int getScore() {
                return score;
            }

            public void setScore(int score) {
                this.score = score;
            }

            public String getGood_comment() {
                return good_comment;
            }

            public void setGood_comment(String good_comment) {
                this.good_comment = good_comment;
            }

            public static class VoucherInfo implements Serializable {
                private int exist_voucher;
                private String vids;

                public int getExist_voucher() {
                    return exist_voucher;
                }

                public void setExist_voucher(int exist_voucher) {
                    this.exist_voucher = exist_voucher;
                }

                public String getVids() {
                    return vids;
                }

                public void setVids(String vids) {
                    this.vids = vids;
                }
            }
        }

        public static class ModelsBean implements Serializable {
            private int gid;
            private int shop_id;
            private String goods_name;
            private String no;
            private String thumb;
            private int country_id;
            private String country_name;
            private int class_id;
            private int sold_least_num;
            private String market_price;
            private int is_free_post;
            private String free_post_num;
            private String use_ydx;
            private int warehouse_id;
            private int warehouse_province;
            private int warehouse_city;
            private int warehouse_town;
            private String warehouse_member;
            private String warehouse_mobile;
            private String warehouse_str;
            private int num;
            private String specifications;
            @SerializedName("package")
            private String packageX;
            private String weight;
            private String volume;
            private int is_hot;
            private String discount_json;
            private int is_recommend;
            private int total_sold_num;
            private int status;
            private int created_at;
            private int updated_at;
            private String total_stock;
            private String price;
            private int is_expiring;
            private String single_specifications;
            private String single_price;
            private String single_num;

            public String getSingle_num() {
                return single_num;
            }

            public void setSingle_num(String single_num) {
                this.single_num = single_num;
            }

            public String getSingle_price() {
                return single_price;
            }

            public void setSingle_price(String single_price) {
                this.single_price = single_price;
            }

            public String getSingle_specifications() {
                return single_specifications;
            }

            public void setSingle_specifications(String single_specifications) {
                this.single_specifications = single_specifications;
            }

            /**
             * count : 100
             * discount : 0.8
             */

            private List<DiscountBean> discount;

            public int getGid() {
                return gid;
            }

            public void setGid(int gid) {
                this.gid = gid;
            }

            public int getShop_id() {
                return shop_id;
            }

            public void setShop_id(int shop_id) {
                this.shop_id = shop_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getNo() {
                return no;
            }

            public void setNo(String no) {
                this.no = no;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public int getCountry_id() {
                return country_id;
            }

            public void setCountry_id(int country_id) {
                this.country_id = country_id;
            }

            public String getCountry_name() {
                return country_name;
            }

            public void setCountry_name(String country_name) {
                this.country_name = country_name;
            }

            public int getClass_id() {
                return class_id;
            }

            public void setClass_id(int class_id) {
                this.class_id = class_id;
            }

            public int getSold_least_num() {
                return sold_least_num;
            }

            public void setSold_least_num(int sold_least_num) {
                this.sold_least_num = sold_least_num;
            }

            public String getMarket_price() {
                return market_price;
            }

            public void setMarket_price(String market_price) {
                this.market_price = market_price;
            }

            public int getIs_free_post() {
                return is_free_post;
            }

            public void setIs_free_post(int is_free_post) {
                this.is_free_post = is_free_post;
            }

            public String getFree_post_num() {
                return free_post_num;
            }

            public void setFree_post_num(String free_post_num) {
                this.free_post_num = free_post_num;
            }

            public String getUse_ydx() {
                return use_ydx;
            }

            public void setUse_ydx(String use_ydx) {
                this.use_ydx = use_ydx;
            }

            public int getWarehouse_id() {
                return warehouse_id;
            }

            public void setWarehouse_id(int warehouse_id) {
                this.warehouse_id = warehouse_id;
            }

            public int getWarehouse_province() {
                return warehouse_province;
            }

            public void setWarehouse_province(int warehouse_province) {
                this.warehouse_province = warehouse_province;
            }

            public int getWarehouse_city() {
                return warehouse_city;
            }

            public void setWarehouse_city(int warehouse_city) {
                this.warehouse_city = warehouse_city;
            }

            public int getWarehouse_town() {
                return warehouse_town;
            }

            public void setWarehouse_town(int warehouse_town) {
                this.warehouse_town = warehouse_town;
            }

            public String getWarehouse_member() {
                return warehouse_member;
            }

            public void setWarehouse_member(String warehouse_member) {
                this.warehouse_member = warehouse_member;
            }

            public String getWarehouse_mobile() {
                return warehouse_mobile;
            }

            public void setWarehouse_mobile(String warehouse_mobile) {
                this.warehouse_mobile = warehouse_mobile;
            }

            public String getWarehouse_str() {
                return warehouse_str;
            }

            public void setWarehouse_str(String warehouse_str) {
                this.warehouse_str = warehouse_str;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getSpecifications() {
                return specifications;
            }

            public void setSpecifications(String specifications) {
                this.specifications = specifications;
            }

            public String getPackageX() {
                return packageX;
            }

            public void setPackageX(String packageX) {
                this.packageX = packageX;
            }

            public String getWeight() {
                return weight;
            }

            public void setWeight(String weight) {
                this.weight = weight;
            }

            public String getVolume() {
                return volume;
            }

            public void setVolume(String volume) {
                this.volume = volume;
            }

            public int getIs_hot() {
                return is_hot;
            }

            public void setIs_hot(int is_hot) {
                this.is_hot = is_hot;
            }

            public String getDiscount_json() {
                return discount_json;
            }

            public void setDiscount_json(String discount_json) {
                this.discount_json = discount_json;
            }

            public int getIs_recommend() {
                return is_recommend;
            }

            public void setIs_recommend(int is_recommend) {
                this.is_recommend = is_recommend;
            }

            public int getTotal_sold_num() {
                return total_sold_num;
            }

            public void setTotal_sold_num(int total_sold_num) {
                this.total_sold_num = total_sold_num;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getCreated_at() {
                return created_at;
            }

            public void setCreated_at(int created_at) {
                this.created_at = created_at;
            }

            public int getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(int updated_at) {
                this.updated_at = updated_at;
            }

            public String getTotal_stock() {
                return total_stock;
            }

            public void setTotal_stock(String total_stock) {
                this.total_stock = total_stock;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getIs_expiring() {
                return is_expiring;
            }

            public void setIs_expiring(int is_expiring) {
                this.is_expiring = is_expiring;
            }

            public List<DiscountBean> getDiscount() {
                return discount;
            }

            public void setDiscount(List<DiscountBean> discount) {
                this.discount = discount;
            }

            public static class DiscountBean implements Serializable {
                private String count;
                private String discount;

                public String getCount() {
                    return count;
                }

                public void setCount(String count) {
                    this.count = count;
                }

                public String getDiscount() {
                    return discount;
                }

                public void setDiscount(String discount) {
                    this.discount = discount;
                }
            }
        }
    }
}
